package com.wall.haven.dto;

import java.util.List;

public class SystemDataDTO {

    /**
     * 公告
     */
    private Notice notice;

    /**
     * 默认头像
     */
    private String defaultAvatar;

    private List<AcknowledgementUserDTO> acknowledgements;

    private List<UpdateLogDTO> updateLogs;

    /**
     * secretKey
     */
    private String sk;

    /**
     * 加密后的rsa 公钥
     */
    private String rk;

    /**
     * AES 密钥
     */
    private String ak;

    public SystemDataDTO() {
    }

    public SystemDataDTO(Notice notice, String defaultAvatar, List<AcknowledgementUserDTO> acknowledgements,
                         List<UpdateLogDTO> updateLogs, String rk, String ak, String sk) {
        this.notice = notice;
        this.defaultAvatar = defaultAvatar;
        this.acknowledgements = acknowledgements;
        this.updateLogs = updateLogs;
        this.rk = rk;
        this.ak = ak;
        this.sk = sk;
    }

    public Notice getNotice() {
        return notice;
    }

    public void setNotice(Notice notice) {
        this.notice = notice;
    }

    public String getDefaultAvatar() {
        return defaultAvatar;
    }

    public void setDefaultAvatar(String defaultAvatar) {
        this.defaultAvatar = defaultAvatar;
    }

    public List<AcknowledgementUserDTO> getAcknowledgements() {
        return acknowledgements;
    }

    public void setAcknowledgements(List<AcknowledgementUserDTO> acknowledgements) {
        this.acknowledgements = acknowledgements;
    }

    public List<UpdateLogDTO> getUpdateLogs() {
        return updateLogs;
    }

    public void setUpdateLogs(List<UpdateLogDTO> updateLogs) {
        this.updateLogs = updateLogs;
    }

    public String getSk() {
        return sk;
    }

    public void setSk(String sk) {
        this.sk = sk;
    }

    public String getRk() {
        return rk;
    }

    public void setRk(String rk) {
        this.rk = rk;
    }

    public String getAk() {
        return ak;
    }

    public void setAk(String ak) {
        this.ak = ak;
    }
}
